import {createStore} from 'vuex';
import ASd from "."
//创建全局变量创库和全局函数创库
const store = createStore({
	//全局变量，state 状态-变量
	state(){
		return{
			user:{
				role:"",
				uname:"",
				phone:"",
				pic:"",
				token:"",
			},ip:'http://127.0.0.1:9000',
		errmsg:"提示...",
		erropen:3,
		}
	}
})

export default store;